<div th:fragment="side" class="span2" id="sidebar">
    <ul id="side2" class="nav nav-list bs-docs-sidenav nav-collapse collapse">

        <li id="index">
            <a th:href="@{/admin/config/page}"><i class="icon-chevron-right"></i>首页</a>
        </li>

        <li id="user" th:if="${loginUser.userType == 0}">
            <a th:href="@{/admin/user/page}"><i class="icon-chevron-right"></i> 用户管理</a>
        </li>

        <li id="active">
            <a th:href="@{/admin/active/page}"><i class="icon-chevron-right"></i>[[ ${loginUser.userType == 0?'活动信息管理':'查看活动'} ]]</a>
        </li>

        <li id = "type" th:if="${loginUser.userType == 0}">
            <a th:href="@{/admin/type/page}"><i class="icon-chevron-right"></i> 活动类型管理</a>
        </li>

        <li id = "app" th:if="${loginUser.userType == 0}">
            <a th:href="@{/admin/app/page}"><i class="icon-chevron-right"></i> 活动报名管理 </a>
        </li>

        <li id = "myactive" th:if="${loginUser.userType == 1}">
            <a th:href="@{/admin/active/my/page}"><i class="icon-chevron-right"></i> 我参加的活动 </a>
        </li>

        <li id = "msg" th:if="${loginUser.userType == 0}">
            <a th:href="@{/admin/msg/page}"><i class="icon-chevron-right"></i> 活动通知管理 </a>
        </li>

        <li id = "mymsg" th:if="${loginUser.userType == 1}">
            <a th:href="@{/admin/msg/my/page}"><i class="icon-chevron-right"></i> 我的活动通知</a>
        </li>

    </ul>
</div>